package cn.doitedu.jiaoyi;

/**
 * CREATE TABLE `order_info` (
 *   `id` int(20) NOT NULL AUTO_INCREMENT,
 *   `user_id` int(20) DEFAULT NULL,
 *   `product_id` int(20) DEFAULT NULL,
 *   `shop_id` int(20) DEFAULT NULL,
 *   `merchant_id` int(20) DEFAULT NULL,
 *   `order_amount` double(20,2) DEFAULT NULL,
 *   `pay_amount` double(20,2) DEFAULT NULL,
 *   `create_time` varchar(20) DEFAULT NULL,
 *   `pay_time` varchar(20) DEFAULT NULL,
 *   `pay_type` int(2) DEFAULT NULL COMMENT '1微信 2支付宝 3银联 4京东',
 *   `status` int(2) DEFAULT NULL COMMENT   '0未支付 1已支付 2已退款 3未支付已失效',
 *   `number` int(20) DEFAULT NULL,
 *   `bonus_id` int(20) DEFAULT NULL,
 *   `bonus_amount` double(20,2) DEFAULT NULL,
 *   `coupon_id` int(20) DEFAULT NULL,
 *   `coupon_amount` double(20,2) DEFAULT NULL,
 *   `campain_id` int(20) DEFAULT NULL,
 *   `miaosha_id` int(20) DEFAULT NULL,
 *   `tuangou_id` int(20) DEFAULT NULL,
 *   PRIMARY KEY (`id`)
 * ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
 */
public class OrderInfo {
    private Integer id;
    private Integer user_id;
    private Integer product_id;
    private Integer shop_id;
    private Integer merchant_id;
    private Double order_amount;
    private Double pay_amount;
    private String create_time;
    private String pay_time;
    private String pay_type;  // '1微信 2支付宝 3银联 4京东',
    private Integer status;  // '0未支付 1已支付 2已退款 3未支付已失效',
    private Integer number;
    private Integer bonus_id;
    private Double bonus_amount;
    private Integer coupon_id;
    private Double coupon_amount;
    private Integer campain_id;
    private Integer miaosha_id;
    private Integer tuangou_id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    public Integer getShop_id() {
        return shop_id;
    }

    public void setShop_id(Integer shop_id) {
        this.shop_id = shop_id;
    }

    public Integer getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(Integer merchant_id) {
        this.merchant_id = merchant_id;
    }

    public Double getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(Double order_amount) {
        this.order_amount = order_amount;
    }

    public Double getPay_amount() {
        return pay_amount;
    }

    public void setPay_amount(Double pay_amount) {
        this.pay_amount = pay_amount;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getPay_time() {
        return pay_time;
    }

    public void setPay_time(String pay_time) {
        this.pay_time = pay_time;
    }

    public String getPay_type() {
        return pay_type;
    }

    public void setPay_type(String pay_type) {
        this.pay_type = pay_type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getBonus_id() {
        return bonus_id;
    }

    public void setBonus_id(Integer bonus_id) {
        this.bonus_id = bonus_id;
    }

    public Double getBonus_amount() {
        return bonus_amount;
    }

    public void setBonus_amount(Double bonus_amount) {
        this.bonus_amount = bonus_amount;
    }

    public Integer getCoupon_id() {
        return coupon_id;
    }

    public void setCoupon_id(Integer coupon_id) {
        this.coupon_id = coupon_id;
    }

    public Double getCoupon_amount() {
        return coupon_amount;
    }

    public void setCoupon_amount(Double coupon_amount) {
        this.coupon_amount = coupon_amount;
    }

    public Integer getCampain_id() {
        return campain_id;
    }

    public void setCampain_id(Integer campain_id) {
        this.campain_id = campain_id;
    }

    public Integer getMiaosha_id() {
        return miaosha_id;
    }

    public void setMiaosha_id(Integer miaosha_id) {
        this.miaosha_id = miaosha_id;
    }

    public Integer getTuangou_id() {
        return tuangou_id;
    }

    public void setTuangou_id(Integer tuangou_id) {
        this.tuangou_id = tuangou_id;
    }
}
